<?php foreach ($periods as $key => $period) { ?>
      <tr>
        <td>
          <a href="#" target="_blank"><?php echo $period['course']['course_name'] ?></a>
          <div class="mts">
            <a class="text-success text-sm" href="#" target="_blank"><?php echo $period['period_name'] ?></a>
          </div>
        </td>
          <td><?php echo date("Y-m-d H:i",$period['open_time'])."到".date("H:i",$period['end_time']) ?></td>
        <td>100 </td>
        <td></td>
      </tr>
      <?php } ?>
      <?php if (!$periods) { ?>
        <tr><td colspan="20"><div class="empty">暂无进行中的直播</div></td></tr>
      <?php } ?>